package com.itheima.test02;

public class demo {
    public static void main(String[] args) {
        Swimming s = () -> System.out.println("游泳");
        s.swim();
    }
}
//
//abstract class Animal{
//    abstract void run();
//}
interface Swimming{
    void swim();
}